package take07;

import java.util.Scanner;

/**
 * @author Administrator
 */
public class Tast2 {
    public static void main(String[] args) {
        System.out.println("请输入一个成绩：");
        Scanner scanner=new Scanner(System.in);
        int num=scanner.nextInt();
        if(num>90 & num<100){
            System.out.println("优秀");
        }
        if(num>80 & num<90){
            System.out.println("中等");
        }
        if(num>70 & num<80){
            System.out.println("良好");
        }
        if(num>60 & num<70){
            System.out.println("及格");
        }
        if(num<60){
            System.out.println("不及格");
        }

    }
}



